package com.coolgame.login.bo;

/**
 *  
 * @copyright : (C) Copyright cool game Corporation 2011-2020
 * @date:2013-6-24
 * @author:Caiyw
 * @since JDK1.6
 * @description:TODO
 */

public class Account implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Long id;
	private String account;
	private String password;
	private Integer rank;
	private String phone;
	private Short regType;
	private Short banned;

	// Constructors

	/** default constructor */
	public Account() {
	}

	/** minimal constructor */
	public Account(Long id) {
		this.id = id;
	}

	/** full constructor */
	public Account(Long id, String account, String password, Integer rank, String phone, Short regType, Short banned) {
		this.id = id;
		this.account = account;
		this.password = password;
		this.rank = rank;
		this.phone = phone;
		this.regType = regType;
		this.banned = banned;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getAccount() {
		return this.account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getRank() {
		return this.rank;
	}

	public void setRank(Integer rank) {
		this.rank = rank;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Short getRegType() {
		return this.regType;
	}

	public void setRegType(Short regType) {
		this.regType = regType;
	}

	public Short getBanned() {
		return this.banned;
	}

	public void setBanned(Short banned) {
		this.banned = banned;
	}

}